package com.bravo.other.geoid;

public class QuickCompute {
	public static void main(String[] args) {
		// User-specified coordinates
		double longitude = 120.162970106673;
		double latitude = 30.8744722121392;

		System.out.println("=== Quick Geoid Height Compute ===");
		System.out.printf("Coords: lon %.12f, lat %.13f\n", longitude, latitude);

		// EGM2008 (simplified)
		double egm2008 = GeoidHeightCalculator.calculateEGM2008(latitude, longitude);
		System.out.printf("EGM2008: %.6f m\n", egm2008);

		// EGM96 (simplified)
		double egm96 = GeoidHeightCalculator.calculateEGM96(latitude, longitude);
		System.out.printf("EGM96:  %.6f m\n", egm96);

		// Advanced EGM2008 (limited degrees)
		double adv20 = AdvancedGeoidCalculator.calculateEGM2008Complete(latitude, longitude, 20);
		System.out.printf("Advanced EGM2008 (20°): %.6f m\n", adv20);
	}
}

